<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" />
	<!--{echo formatPageSeo()}-->
	<link rel="icon" href="{$_FANWE['site_root']}favicon.ico" type="image/x-icon" />
    <script type="text/javascript" src="{$_FANWE['site_root']}public/v1/js/jquery-1.8.3.min.js"></script>
	<?php
		$default_js[] = './public/js/jquery.cookie.js';
                $default_js[] = './public/js/jquery.easing.js';
		$default_js[] = './public/js/jquery.lazyload.js';
                $default_js[] = './public/js/base.js';
	?>
	<script type="text/javascript" src="{script $default_js}"></script>
	<?php
		$current_css[] = './tpl/css/reset.css';
		$current_css[] = './tpl/css/base.css';
		$current_css[] = './tpl/css/globe.css';
		$current_css[] = './tpl/css/publishbox.css';
		$current_css[] = './tpl/css/lightbox.css';
		$current_css[] = './tpl/css/addfav.css';
		$current_css[] = './public/js/jqueryui/jquery.ui.css';
	?>
	<link rel="stylesheet" type="text/css" href="{css $current_css}" media="all"/>
	<!--{loop $css_list $css}-->
	<link rel="stylesheet" type="text/css" href="{css $css['url']}"{if !empty($css['media'])} media="{$css['media']}"{/if} />
	<!--{/loop}-->
	<script type="text/javascript">
		var SITE_PATH = '$_FANWE[site_root]';
		var SITE_URL = '$_FANWE[site_url]';
		var TPL_PATH = '{TPL_PATH}';
		var PUBLIC_PATH	 = '{PUBLIC_PATH}';
		var MODULE_NAME	 = '{MODULE_NAME}';
		var ACTION_NAME	 = '{ACTION_NAME}';
		var COOKIE_PRE = "$_FANWE['config']['cookie']['cookie_pre']";
		var HEADER_TOP_HEIGHT = 85;
        <!--{dynamic dynamicScript}-->
	</script>
	<!--{if isset($_FANWE['cache']['business']['taobao'])}-->
	<!--{if $_FANWE['cache']['business']['taobao']['is_tdj'] == 0}-->
	<script src="http://a.tbcdn.cn/apps/top/x/sdk.js?appkey={$_FANWE['cache']['business']['taobao']['app_key']}"></script>
	<style>
		#top-xdr{position:absolute;top:-2000;left:-2000;};
	</style>
	<!--{else}-->
	<script type="text/javascript">
		(function(win,doc){
			var s = doc.createElement("script"), h = doc.getElementsByTagName("head")[0];
			if (!win.alimamatk_show) {
				s.charset = 'utf-8';
				s.async = true;
				s.src = "http://a.alimama.cn/tkapi.js";
				s.kslite = "";
				h.insertBefore(s, h.firstChild);
			}
			var o = {
				pid: "{$_FANWE['cache']['business']['taobao']['tk_pid']}",
				appkey:"{$_FANWE['cache']['business']['taobao']['app_key']}"
			}
			win.alimamatk_onload = win.alimamatk_onload || [];
			win.alimamatk_onload.push(o);
		})(window,document);
	</script>
	<!--{/if}-->
	<!--{/if}-->
    <link rel="stylesheet" type="text/css" href="{$_FANWE['site_root']}public/v1/img/style.css?v=2" />
    <script type="text/javascript" src="{$_FANWE['site_root']}public/v1/js/jquery-scrolltofixed-min.js"></script>
    <script type="text/javascript" src="{$_FANWE['site_root']}public/v1/js/jquery.masonry.min.js"></script>
    <script type="text/javascript" src="{$_FANWE['site_root']}public/v1/js/imagesloaded.pkgd.min.js"></script>
    <script type="text/javascript" src="{$_FANWE['site_root']}public/v1/js/common.js"></script>
    <script type="text/javascript">
    $(function() {
        $("#back2top").css("left",$(window).width()-100+"px");

        $(window).resize(function(){
            $("#back2top").css("left",$(window).width()-100+"px");
            moer_menu();
            <!--{if MODULE_NAME=='Index'&&ACTION_NAME=='index'}-->
            index_cate();
            <!--{/if}-->
        });
    });
    </script>
</head>
<body>

<div class="header_v1 header_w">
    <div class="i_inner1">
        <div class="i_search">
            <div class="j_logo">
                <img src="{$_FANWE['site_root']}public/v1/img/logo.png" class="logo1" />
                <br class="clear" />
            </div>
            <div class="j_frm">
                <form method="get" action="{u search/index}" id="search_form_box" class="search_form_box">
                    <span class="ui k_ipt1"><input name="word" value="{$keyword}" autocomplete="off" placeholder="搜索案例、经验、产品、商家" /></span>
                    <input type="submit" class="ui k_btn1 s_btn" value="搜索" />
                    <input type="hidden" id="action" name="action" value="<?php echo in_array(MODULE_NAME, array('Product', 'Article','ShopInfo')) ? strtolower(MODULE_NAME) : (MODULE_NAME == 'u' ? 'share' : (MODULE_NAME == 'Search' ? (ACTION_NAME == 'bao' ? 'share' : ACTION_NAME) : 'shopinfo')); ?>" />
                </form>
            </div>
        </div>
        <!--{dynamic getUserInfo}-->

    </div>
    <div class="i_nav">
        <div class="main_nav" id="mainNav">
            <div class="i_inner1">
                <div class="i_show">

                                        <ul>
                        <li><a href="{u index}"{if MODULE_NAME == 'Index'}{/if}>{lang page_index}</a></li>
                      <!--   <li class="j_ast"><a href="{u list/robot}">小秘书<img class="roboticon" src="/public/v1/img/robot_icon_tip.png" class="hot"></a></li>-->
                        <?php
                            $g_r_cate = $_FANWE['cache']['goods_category']['root'];
                            $g_r_cate = &$_FANWE['cache']['goods_category']['all'][$g_r_cate];
                        ?>
                       <!--  <li><a href="/u.php?action=me">我的社区</a></li>-->
                         <!--<li><a href="{u album}"{if MODULE_NAME == 'Album'}{/if}>{lang common/album}</a></li>-->
                        <!--{loop $_FANWE['cache']['goods_category']['index'] $h_i_cate}-->
                        <!--{eval $h_i_cate = $_FANWE['cache']['goods_category']['all'][$h_i_cate];}-->
                        <!--{if $h_i_cate['parent_id'] == 0}-->
                        <li class="j_ast"><a target="_blank" href="{if $h_i_cate['cate_type'] == 0}{u article/index cate=$h_i_cate['cate_id']}{elseif $h_i_cate['cate_type'] == 1}{u product/list cate=$h_i_cate['cate_id']}{elseif $h_i_cate['cate_type'] == 2}{u book/cate cate=$h_i_cate['cate_code']}{elseif $h_i_cate['cate_type'] == 3}{u shopinfo/index cate=$h_i_cate['cate_code']}{/if}">{$h_i_cate['cate_name']}{if $h_i_cate['hot'] == 1}<img src="/public/v1/img/hot.gif" class="hot"/>{/if}</a><i onclick="animateScrollTop({$h_i_cate['cate_id']})"></i></li>
                        <!--{/if}-->
                        <!--{/loop}-->
                    </ul>

                </div>
                <div class="i_hide">
                    <ul></ul>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
moer_menu();
</script>